package com.kyzh.core.pager.weal.video.viewmodels

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.gushenge.core.dao.MMKVConsts

class VideoPlayerViewModel:ViewModel() {
    val showDanmaku by lazy {
        MutableLiveData<Boolean>().also {
            it.value = MMKVConsts.showDanmuku
        }
    }
    fun setDanmukuState(){
        showDanmaku.value = MMKVConsts.showDanmuku
    }
}